package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.ReturnList;
import com.atguigu.jxc.entity.ReturnListGoods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Mapper
@Component
public interface ReturnListDao {
    //添加退货单
    void save(ReturnList returnList);
    //查询退货单
    List<ReturnList> list(String returnNumber, Integer supplierId, Integer state, Date start, Date end);
    //删除退货单
    void deleteById(Integer returnListId);
}
